from django.db import models
from django.contrib.auth.models import User
# Create your models here.

class ScmUser(models.Model):
    user = models.ForeignKey(User, null=True)
    scm_user_name = models.CharField("SCM Username", maxlength=200)
    def __str__(self):
        return "%s (%s)" % (self.scm_user_name, self.user)
    class Admin:
        pass

class TrackerUser(models.Model):
    user = models.ForeignKey(User)
    tracker_user_name = models.CharField("Tracker Username", maxlength=200)
    def __str__(self):
        return "%s (%s)" % (self.tracker_user_name, self.user)
    class Admin:
        pass

    
    
